Enum OU’S & GPO’s
Enum GPO
Get-NetGPOGroup -Verbose
Membership Of RDPUsers
Get-NetGroupMember -GroupName RDPUsers
List All OU’s
Get-NetOU
List All computers To OU
Get-NetOU StudentMachines | %{Get-NetComputer -ADSpath $_}
List GPO
Get-NetGPO
Enum GPO Applied To OU
Get-NetGPO -ADSpath 'LDAP://cn={3E04167E-C2B6-4A9A-8FB7-C811158DC97C},cn=policies,cn=system,DC=dollarcorp,DC=moneycorp,DC=local'
Load AD Module:
Or use: https://github.com/samratashok/ADModule?files=1
Other Resources
Grouper2:
https://github.com/l0ss/Grouper2